Skip to content

docs(5956): add documentation to sentry usage#38644

Merged
HowardBraham merged 9 commits intomainfrom
chore/5956-sentry-doc
Jan 7, 2026
Merged

docs(5956): add documentation to sentry usage#38644
HowardBraham merged 9 commits intomainfrom
chore/5956-sentry-doc

Conversation

@DDDDDanica
Copy link
Copy Markdown
Contributor

@DDDDDanica DDDDDanica commented Dec 8, 2025

Description

The test-metamask Sentry project receives significant traffic (284,823 events in 14 days), but there's no clear documentation on sentry setup and usage. This PR add some comprehensive documentation that developers can reference.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/5956

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Note

Enhances Sentry documentation and configuration for developers.

  • Docs: Expands development/README.md with Sentry overview, project/DSN mapping, environment matrix, environment and DSN selection logic (development/build/utils.js:getEnvironment, app/scripts/lib/setupSentry.js:getSentryTarget), common query examples, and local dev setup/testing steps
  • Config template: Updates .metamaskrc.dist with a dedicated Sentry section including SENTRY_DSN, SENTRY_DSN_DEV (example), and SENTRY_DSN_PERFORMANCE, plus guidance to avoid using production DSN in dev/CI

Written by Cursor Bugbot for commit 38b94cd. This will update automatically on new commits. Configure here.

@DDDDDanica DDDDDanica self-assigned this Dec 8, 2025
@DDDDDanica DDDDDanica added the team-extension-platform Extension Platform team label Dec 8, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 8, 2025

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@github-actions github-actions Bot added the size-S label Dec 8, 2025
@DDDDDanica DDDDDanica force-pushed the chore/5956-sentry-doc branch from 80c4ceb to 132655d Compare December 8, 2025 18:51
@DDDDDanica DDDDDanica force-pushed the chore/5956-sentry-doc branch from 132655d to 4563265 Compare December 8, 2025 18:56
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [4563265]
UI Startup Metrics (1252 ± 82 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1252105114488213151385
load103386612417110801140
domContentLoaded102686312226910751130
domInteractive21163862237
firstPaint52683125041110351131
backgroundConnect21719625512222246
firstReactRender4630193195175
getState38181262241101
initialActions104112
loadScripts816663102066860908
setupStore1274761324
numNetworkReqs86307630
BrowserifyPower User HomeuiStartup18801616241113719512085
load1084874134110611691256
domContentLoaded1071866129010411631234
domInteractive26175472743
firstPaint54892134642010661202
backgroundConnect24520357876237528
firstReactRender44359674654
getState19714733235214271
initialActions102112
loadScripts85866710871029541025
setupStore17105691540
numNetworkReqs69572032266103
WebpackStandard HomeuiStartup9137341229889631062
load69758994379745853
domContentLoaded69158493579740848
domInteractive24165882544
firstPaint24492914172236714
backgroundConnect13652101437
firstReactRender68373365272175
getState261355103147
initialActions103112
loadScripts68858293379738846
setupStore1273251323
numNetworkReqs86305623
WebpackPower User HomeuiStartup14951210212715815921770
load73660993379781884
domContentLoaded72860392577772873
domInteractive25175482647
firstPaint31493936237259859
backgroundConnect59757310855292
firstReactRender48408765059
getState20314532743237287
initialActions102112
loadScripts72560192277766869
setupStore14104061434
numNetworkReqs6722202176698
FirefoxBrowserifyStandard HomeuiStartup12641091159111213451499
load103493912536910831174
domContentLoaded103493212526910831174
domInteractive53311372674110
firstPaint------
backgroundConnect3720141233697
firstReactRender36306483657
getState115206201021
initialActions102022
loadScripts101392312286610571146
setupStore1062941022
numNetworkReqs86265624
BrowserifyPower User HomeuiStartup25711534344460030913330
load1507947244754121042351
domContentLoaded1507947244754121042351
domInteractive7826106414169132
firstPaint------
backgroundConnect140211188167188319
firstReactRender5332181185679
getState150721044102174236
initialActions204123
loadScripts1435932242649419952230
setupStore765113017460379
numNetworkReqs6944121137197
WebpackStandard HomeuiStartup15681319209214116591876
load1271112215668313191421
domContentLoaded1271112215668313181421
domInteractive63282304082140
firstPaint------
backgroundConnect46221862649106
firstReactRender42345764354
getState218203301794
initialActions102122
loadScripts1246109715428212941388
setupStore136134151229
numNetworkReqs86266825
WebpackPower User HomeuiStartup27891813418057432153518
load18061117274552723202477
domContentLoaded18061116274552723202477
domInteractive148291092281781039
firstPaint------
backgroundConnect152241288231177991
firstReactRender5434103125984
getState149841155111176237
initialActions213123
loadScripts17071101259148722252425
setupStore614103915441288
numNetworkReqs70531241471100
📊 Page Load Benchmark Results

Current Commit: 4563265 | Date: 12/8/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±96ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 729ms (±118ms) 🟢 | historical mean value: 730ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 93ms (±186ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 96ms 1.00s 1.96s 1.06s 1.96s
domContentLoaded 729ms 118ms 697ms 1.88s 743ms 1.88s
firstPaint 93ms 186ms 56ms 1.94s 84ms 1.94s
firstContentfulPaint 93ms 186ms 56ms 1.94s 84ms 1.94s
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -911 Bytes (-0.02%)
  • ui: 126.73 KiB (1.64%)
  • common: 1.7 KiB (0.02%)

Comment thread development/README.md Outdated
Comment on lines +78 to +86
| Environment | When Used | Build Command | Branch/Context |
| ------------------- | ---------------------------- | ----------------- | -------------------- |
| `production` | Production releases | `yarn build prod` | `stable` branch |
| `staging` | Main branch builds | `yarn build dist` | `main` branch |
| `development` | Local development | `yarn start` | Local dev server |
| `testing` | E2E test builds | `yarn build:test` | Any |
| `pull-request` | PR builds | `yarn build dist` | `pull_request` event |
| `release-candidate` | Release branches | `yarn build dist` | `release/*` branches |
| `other` | Fallback (should not happen) | - | Uncategorized |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we give the webpack commands too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea, added 85f37a4

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Dec 19, 2025

Builds ready [85f37a4]
UI Startup Metrics (1337 ± 110 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13371075168911014061485
load1113873139110411791270
domContentLoaded1107870138510411721263
domInteractive2917112202586
firstPaint181651249207197325
backgroundConnect22020125511226244
firstReactRender1483251526
getState3518127144061
initialActions103112
loadScripts89367011681049571053
setupStore1263031317
numNetworkReqs171167151162
BrowserifyPower User HomeuiStartup18121420229618919022166
load1062882153312911671270
domContentLoaded1053879152313011601263
domInteractive32172343126105
firstPaint1516543375196334
backgroundConnect24219663385231534
firstReactRender14102221518
getState19214269358209244
initialActions102112
loadScripts84267713041289501062
setupStore1664381536
numNetworkReqs64521291762107
WebpackStandard HomeuiStartup780647106079809943
load63257490968658785
domContentLoaded62756890467652780
domInteractive2616124212290
firstPaint1025828053125225
backgroundConnect265128293793
firstReactRender14102331618
getState3314143204257
initialActions103111
loadScripts62456689466650771
setupStore1254271432
numNetworkReqs181182181167
WebpackPower User HomeuiStartup1221959176017712781661
load715592100085743887
domContentLoaded70958499284738878
domInteractive3017109222697
firstPaint1336383597181283
backgroundConnect70762513466507
firstReactRender16132521720
getState15714021912163179
initialActions103111
loadScripts70658298283735876
setupStore15104281336
numNetworkReqs65512202860125
FirefoxBrowserifyStandard HomeuiStartup14491160206817615281774
load1157969184512712141355
domContentLoaded1156968184512712141355
domInteractive69291653789152
firstPaint------
backgroundConnect64223775970192
firstReactRender13102521418
getState147135161327
initialActions103122
loadScripts1117952181511511671328
setupStore14493131243
numNetworkReqs19983191376
BrowserifyPower User HomeuiStartup25811514362852529843291
load1663966267754321972477
domContentLoaded1662961267754321972477
domInteractive8531101111875298
firstPaint------
backgroundConnect3622212724144451156
firstReactRender18116862025
getState1216494894115188
initialActions3036437
loadScripts1378951250843614432301
setupStore545102413847179
numNetworkReqs70511212185111
WebpackStandard HomeuiStartup15021287213715016081797
load12771108161511213501505
domContentLoaded12771108161511213501505
domInteractive75282444099143
firstPaint------
backgroundConnect57212094455151
firstReactRender15105571624
getState146139191337
initialActions102012
loadScripts1237108815319513131419
setupStore144140191232
numNetworkReqs20982191479
WebpackPower User HomeuiStartup27281629408457631613481
load20161108327754824612731
domContentLoaded20151107327754824602730
domInteractive75294058069304
firstPaint------
backgroundConnect3332112833923541204
firstReactRender20127372228
getState1156632942123215
initialActions3031327
loadScripts17431085310847421952522
setupStore515107915338196
numNetworkReqs70501422285115
📊 Page Load Benchmark Results

Current Commit: 85f37a4 | Date: 12/19/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±44ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 726ms (±38ms) 🟢 | historical mean value: 722ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±13ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 44ms 1.01s 1.34s 1.07s 1.34s
domContentLoaded 726ms 38ms 704ms 1.02s 747ms 1.02s
firstPaint 78ms 13ms 60ms 196ms 88ms 196ms
firstContentfulPaint 78ms 13ms 60ms 196ms 88ms 196ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -373.1 KiB (-7.07%)
  • ui: 106.68 KiB (1.38%)
  • common: 29.49 KiB (0.33%)

Comment thread .metamaskrc.dist Outdated
; The below is the `test-metamask` project.
; SENTRY CONFIGURATION
; SENTRY_DSN - For production builds only (do NOT use in development)
; SENTRY_DSN_DEV - For local dev, CI/CD, and testing (sends to 'test-metamask' project)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this used by CI? I recall @HowardBraham was using this for performance testing at one point, I don't know if that's still the case.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to reconsider the decision to make the testing DSN publicly available given the amount of traffic it gets. We may also want to consider creating a separate project for CI than for testing/development.

When we first created test-metamask, it was easy to use because typically the person testing was the only one using the project at any given time, so errors were easy to detect.

Today given the volume and rate limiting, it's far more difficult to make use of.

If we created a new project just for one-off testing (for development or QA), and kept it secret, and avoided using it in CI, then we'd be back to the easy-to use experience we once had.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes, we have a new just-for-CI one, it's called SENTRY_DSN_PERFORMANCE

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Included SENTRY_DSN_PERFORMANCE in 12c0844

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Jan 6, 2026

Builds ready [594e3a8]
UI Startup Metrics (1296 ± 114 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12961078174311413681471
load1084885142210211491251
domContentLoaded1078879141810111431245
domInteractive2816110212384
firstPaint1536790598189288
backgroundConnect21720126411222239
firstReactRender1392431420
getState341878103755
initialActions104111
loadScripts86967711991019351041
setupStore1273741319
numNetworkReqs181178171168
BrowserifyPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
WebpackStandard HomeuiStartup80565112761178401067
load6535741165111655964
domContentLoaded6485691157110649954
domInteractive2615124212181
firstPaint1065970677124181
backgroundConnect265124273689
firstReactRender15103141623
getState311460134256
initialActions104112
loadScripts6455671155109646951
setupStore1244281336
numNetworkReqs171175161164
WebpackPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
FirefoxBrowserifyStandard HomeuiStartup13351055217618914171671
load1073911196113311351271
domContentLoaded1072911196113311351269
domInteractive75308969190139
firstPaint------
backgroundConnect53201964471148
firstReactRender1394961324
getState126119121224
initialActions102112
loadScripts1039897189911911081177
setupStore155178221254
numNetworkReqs19988201476
BrowserifyPower User HomeuiStartup24901455358546428243008
load17391000245947021202306
domContentLoaded17391000245947021202306
domInteractive116361061168102412
firstPaint------
backgroundConnect3532014023533421027
firstReactRender211270102443
getState915924325100124
initialActions207123
loadScripts1471973230342419362176
setupStore4062484463122
numNetworkReqs68211703175138
WebpackStandard HomeuiStartup15161220199517416311878
load12781066160111213661488
domContentLoaded12781063160111213651488
domInteractive722823142106141
firstPaint------
backgroundConnect55192674456153
firstReactRender15106171527
getState195227321357
initialActions103122
loadScripts1242105414939513031423
setupStore153143201360
numNetworkReqs19986191373
WebpackPower User HomeuiStartup27941635484857131493479
load20651163419455524782752
domContentLoaded20641163419455524772751
domInteractive9730106415177373
firstPaint------
backgroundConnect2812211622733491032
firstReactRender19136572129
getState11750951123118188
initialActions218123
loadScripts18861147417051722912608
setupStore554107017228209
numNetworkReqs68241823576161
📊 Page Load Benchmark Results

Current Commit: 594e3a8 | Date: 1/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±42ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 735ms (±39ms) 🟢 | historical mean value: 727ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±10ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 42ms 1.02s 1.36s 1.10s 1.36s
domContentLoaded 735ms 39ms 708ms 1.03s 764ms 1.03s
firstPaint 77ms 10ms 60ms 152ms 88ms 152ms
firstContentfulPaint 77ms 10ms 60ms 152ms 88ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 20 Bytes (0%)

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Jan 6, 2026

Builds ready [de385bb]
UI Startup Metrics (1318 ± 112 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13181061161711213901494
load1106895135310011751252
domContentLoaded1099890134810011671244
domInteractive2916101212591
firstPaint185661224175193304
backgroundConnect22520426612231252
firstReactRender1492531622
getState371673124362
initialActions106113
loadScripts8836731129999501030
setupStore1383851423
numNetworkReqs181176171171
BrowserifyPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
WebpackStandard HomeuiStartup793647107878838951
load64558291265687775
domContentLoaded64157890765683766
domInteractive231595181972
firstPaint1105862773136229
backgroundConnect2951213040103
firstReactRender14113641422
getState3314147213971
initialActions103112
loadScripts63857690564681758
setupStore1173861227
numNetworkReqs181180171166
WebpackPower User HomeuiStartup1158875169015712521420
load67455299091699868
domContentLoaded66854698491691863
domInteractive29152323023100
firstPaint1215978390147271
backgroundConnect5365218065144
firstReactRender17123541924
getState14811927622161183
initialActions102111
loadScripts66554498290690855
setupStore1273251323
numNetworkReqs5732113146284
FirefoxBrowserifyStandard HomeuiStartup13331062179416414281699
load1066897151110511331264
domContentLoaded1065897151010511321264
domInteractive69302684288150
firstPaint------
backgroundConnect53181924265173
firstReactRender1294441216
getState146200231128
initialActions102012
loadScripts103588314789310891211
setupStore144158231046
numNetworkReqs19978181375
BrowserifyPower User HomeuiStartup24371450324046928013041
load16791016245748521292348
domContentLoaded16781015245748521292347
domInteractive85363126591264
firstPaint------
backgroundConnect311261347316344983
firstReactRender21126882537
getState1074383781113190
initialActions207123
loadScripts1471999230542919242184
setupStore55697216033173
numNetworkReqs68191693182137
WebpackStandard HomeuiStartup16941355228220218412099
load13871164177413514581671
domContentLoaded13861163177313514581671
domInteractive822926648129145
firstPaint------
backgroundConnect68232354680177
firstReactRender17118381627
getState2572434515120
initialActions103123
loadScripts13441137168112214281635
setupStore2152323119101
numNetworkReqs19983191476
WebpackPower User HomeuiStartup27461581379857631683528
load20251125286853024912720
domContentLoaded20241125286853024912719
domInteractive953095214878367
firstPaint------
backgroundConnect3052512273293551096
firstReactRender2112151162153
getState1066336046115191
initialActions203123
loadScripts17951110284645121722487
setupStore594108818329209
numNetworkReqs69231943577159
📊 Page Load Benchmark Results

Current Commit: de385bb | Date: 1/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±38ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 731ms (±36ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±9ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 38ms 1.02s 1.34s 1.08s 1.34s
domContentLoaded 731ms 36ms 710ms 1.00s 755ms 1.00s
firstPaint 78ms 9ms 64ms 152ms 84ms 152ms
firstContentfulPaint 78ms 9ms 64ms 152ms 84ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 20 Bytes (0%)

@HowardBraham HowardBraham changed the title chore(5956): add documentation to sentry usage docs(5956): add documentation to sentry usage Jan 6, 2026
@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Jan 7, 2026

Builds ready [03d48ba]
UI Startup Metrics (1269 ± 101 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12691026158010113241418
load105587113419311141199
domContentLoaded104985413319311091195
domInteractive2515126202081
firstPaint163641117135193287
backgroundConnect21419124910220232
firstReactRender1492951626
getState3720127173970
initialActions102111
loadScripts842651112392903991
setupStore1173141219
numNetworkReqs171172161165
BrowserifyPower User HomeuiStartup17561405224716418572050
load1077894140611411361286
domContentLoaded1065887138311211261278
domInteractive33172353028113
firstPaint176711402179213279
backgroundConnect24920368771247433
firstReactRender15114141623
getState1749230234192234
initialActions106112
loadScripts84767611691099001073
setupStore1566291537
numNetworkReqs66541981962109
WebpackStandard HomeuiStartup803666105173835928
load64658183859671771
domContentLoaded64057681959666765
domInteractive2515113182274
firstPaint1146031960134232
backgroundConnect225123252684
firstReactRender15102841724
getState37151442746131
initialActions105112
loadScripts63757481157662755
setupStore1163961224
numNetworkReqs171178171169
WebpackPower User HomeuiStartup1226961183319012941635
load7556001106107845924
domContentLoaded7475961096106839915
domInteractive31171222526106
firstPaint1396539768193284
backgroundConnect68760414924485
firstReactRender16132421721
getState14112319512147160
initialActions102011
loadScripts7445931087105835912
setupStore15115281436
numNetworkReqs68552203161130
FirefoxBrowserifyStandard HomeuiStartup14151126242919715051763
load1135945208315711981410
domContentLoaded1134944208315811981410
domInteractive73331733590141
firstPaint------
backgroundConnect58212224475158
firstReactRender13104341320
getState146103161231
initialActions102122
loadScripts1101926206314811421378
setupStore166181241343
numNetworkReqs20886201478
BrowserifyPower User HomeuiStartup25021452416655428443222
load1701961272151021452452
domContentLoaded1701961272151021452452
domInteractive843293810877241
firstPaint------
backgroundConnect4062411524159571099
firstReactRender19114362426
getState1105798395120177
initialActions207122
loadScripts1378944256142919302217
setupStore3559911032095
numNetworkReqs74531612983147
WebpackStandard HomeuiStartup15581287206017616781920
load13171128172012013971518
domContentLoaded13171128172012013971518
domInteractive832321245117161
firstPaint------
backgroundConnect59192524668162
firstReactRender14105651520
getState177211251466
initialActions103122
loadScripts12841109161610913491496
setupStore1942523513104
numNetworkReqs19982191376
WebpackPower User HomeuiStartup27141679368651130533349
load20541180297651824742681
domContentLoaded20531179297551824732680
domInteractive993095713876413
firstPaint------
backgroundConnect3752412493994421150
firstReactRender2113147142229
getState986318728106162
initialActions208123
loadScripts17461105257645322212468
setupStore36410111132198
numNetworkReqs75501683175150
📊 Page Load Benchmark Results

Current Commit: 03d48ba | Date: 1/7/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 717ms (±37ms) 🟢 | historical mean value: 726ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±13ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.01s 1.31s 1.07s 1.31s
domContentLoaded 717ms 37ms 697ms 985ms 750ms 985ms
firstPaint 75ms 13ms 56ms 188ms 84ms 188ms
firstContentfulPaint 75ms 13ms 56ms 188ms 84ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 20 Bytes (0%)

Comment thread development/README.md Outdated
Comment thread development/README.md Outdated
Comment thread development/README.md Outdated
Comment thread development/README.md Outdated
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Jan 7, 2026

Builds ready [38b94cd]
UI Startup Metrics (1311 ± 99 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1311105515619913741499
load1092888134410011511274
domContentLoaded1086883134110011421268
domInteractive2716102192387
firstPaint178671103171197312
backgroundConnect22019725710225239
firstReactRender1493241526
getState3718123174066
initialActions104113
loadScripts87366911291009381046
setupStore1273651222
numNetworkReqs171177171166
BrowserifyPower User HomeuiStartup17241385227616318261993
load1054884131911711491274
domContentLoaded1044879131311611291267
domInteractive3217202292891
firstPaint1536141476208329
backgroundConnect24119762061242361
firstReactRender13102221417
getState16612729132179238
initialActions102112
loadScripts83067410991139101049
setupStore1473961432
numNetworkReqs66502272461123
WebpackStandard HomeuiStartup789655103276834938
load63757393569658780
domContentLoaded63257093068653773
domInteractive2516105182180
firstPaint1006024346109210
backgroundConnect255117253592
firstReactRender15113051627
getState3214131174058
initialActions105112
loadScripts62956892067651765
setupStore1244261326
numNetworkReqs171179171169
WebpackPower User HomeuiStartup1168911171617512291582
load721589102794782904
domContentLoaded714582101393773899
domInteractive30171342626109
firstPaint1346340279177334
backgroundConnect58855312333477
firstReactRender16122421720
getState13912019010145155
initialActions101011
loadScripts710580100092759891
setupStore1473971336
numNetworkReqs67532192961131
FirefoxBrowserifyStandard HomeuiStartup14111113245218314741706
load1135946221815512011333
domContentLoaded1135946221715512011333
domInteractive7632109010890139
firstPaint------
backgroundConnect57202204771167
firstReactRender12103331317
getState1266981224
initialActions103112
loadScripts1100930211513911501296
setupStore12388111138
numNetworkReqs19985191474
BrowserifyPower User HomeuiStartup24581404323451528573103
load1632959257552021062425
domContentLoaded1632959257552021062424
domInteractive71322645577219
firstPaint------
backgroundConnect3622311904169421089
firstReactRender19113752426
getState1015491987102153
initialActions203123
loadScripts1339944240940913362231
setupStore335101010417120
numNetworkReqs75521583176155
WebpackStandard HomeuiStartup16851335314725817932170
load13991161281020014581737
domContentLoaded13981155281020114541737
domInteractive902924646128186
firstPaint------
backgroundConnect66192024675169
firstReactRender15113231724
getState2252163515133
initialActions103123
loadScripts13601121279119514091692
setupStore2451963515119
numNetworkReqs19984191478
WebpackPower User HomeuiStartup27191697434154230823483
load20061177297051524492675
domContentLoaded20061177297051524482674
domInteractive972995012196342
firstPaint------
backgroundConnect3352511933663581100
firstReactRender201380102633
getState1124292292121186
initialActions203122
loadScripts17461152293845321702504
setupStore464103914522186
numNetworkReqs69411672976137
📊 Page Load Benchmark Results

Current Commit: 38b94cd | Date: 1/7/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±42ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 723ms (±40ms) 🟢 | historical mean value: 725ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±13ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 42ms 1.01s 1.37s 1.06s 1.37s
domContentLoaded 723ms 40ms 697ms 1.04s 739ms 1.04s
firstPaint 77ms 13ms 56ms 192ms 84ms 192ms
firstContentfulPaint 77ms 13ms 56ms 192ms 84ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 86 Bytes (0%)
  • ui: -3.26 KiB (-0.04%)
  • common: 739 Bytes (0.01%)

@HowardBraham HowardBraham added this pull request to the merge queue Jan 7, 2026
Merged via the queue into main with commit 43cb822 Jan 7, 2026
176 checks passed
@HowardBraham HowardBraham deleted the chore/5956-sentry-doc branch January 7, 2026 19:56
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 7, 2026
@metamaskbot metamaskbot added the release-13.14.0 Issue or pull request that will be included in release 13.14.0 label Jan 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.14.0 Issue or pull request that will be included in release 13.14.0 size-M team-extension-platform Extension Platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants